package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.WeixiuSL;

public interface WeixiuSLRepository extends JpaRepository<WeixiuSL, Long> {

    WeixiuSL findByTaskId(String taskId);

    WeixiuSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<WeixiuSL> findByWorkOrderNum(String workOrderNum);

    WeixiuSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
